package com.lakeworks.event;

import com.lakeworks.common.domain.base.event.IssueEvent;
import com.lakeworks.common.domain.ticket.TktTicket;
import lombok.Data;

import java.time.Instant;

@Data
public class AfterSaleEvent extends IssueEvent {

    TktTicket tktTicket;

    public AfterSaleEvent(TktTicket tktTicket, String operator) {
        this.tktTicket = tktTicket;
        super.setTimestamp(Instant.now());
        super.setOperator(operator);

    }
}
